<?php

	include_once("class/vo/BaseVO.class.php");
	
	class InscricaoVO extends BaseVO{
		
		var $id;
		var $active;
		var $confirm;
		var $name; 
		var $country; 
		var $state; 
		var $city; 
		var $birthday; 
		var $address; 
		var $postalcode; 
		var $phone; 
		var $rg; 
		var $cpf; 
		var $passport; 
		var $instrumento; 
		var $classificacao_vocal; 
		var $escola; 
		var $professor; 
		var $historico; 
		var $nocoes; 
		var $ip; 
		var $cod; 
		var $data; 
		
		function setId($id){ $this->id = $id; }
		function setActive($active){ $this->active = $active; }
		function setConfirm($confirm){ $this->confirm = $confirm; }
		function setName($name){ $this->name = $name; }
		function setCountry($country){ $this->country = $country;}
		function setState($state){ $this->state = $state; }
		function setCity($city){ $this->city = $city; }
		function setBirthday($birthday){ $this->birthday = $birthday; }
		function setAddress($address){ $this->address = $address; }
		function setPostalcode($postalcode){ $this->postalcode = $postalcode; }
		function setPhone($phone){ $this->phone = $phone; }
		function setRg($rg){ $this->rg = $rg; }
		function setCPF($cpf){ $this->cpf = $cpf; }
		function setPassport($passport){ $this->passport = $passport; }
		function setInstrumento($instrumento){ $this->instrumento = $instrumento; }
		function setClassificacaoVocal($classificacao_vocal){ $this->classificacao_vocal = $classificacao_vocal; }
		function setEscola($escola){ $this->escola = $escola; }
		function setProfessor($professor){ $this->professor = $professor; }
		function setHistorico($historico){ $this->historico = $historico; }
		function setNocoes($nocoes){ $this->nocoes = $nocoes; }
		function setIp($ip){ $this->ip = $ip; }
		function setCod($cod){ $this->cod = $cod; }
		function setData($data){ $this->data = $data; }
	
		function getId($id){ return $this->id; }
		function getActive($active){ return $this->active; }
		function getConfirm($confirm){ return $this->confirm; }
		function getName($name){ return $this->name; }
		function getCountry($country){ return $this->country;}
		function getState($state){ return $this->state; }
		function getCity($city){ return $this->city; }
		function getBirthday($birthday){ return $this->birthday; }
		function getAddress($address){ return $this->address; }
		function getPostalcode($postalcode){ return $this->postalcode; }
		function getPhone($phone){ return $this->phone; }
		function getRg($rg){ return $this->rg; }
		function getCPF($cpf){ return $this->cpf; }
		function getPassport($passport){ return $this->passport; }
		function getInstrumento($instrumento){ return $this->instrumento; }
		function getClassificacaoVocal($classificacao_vocal){ return $this->classificacao_vocal; }
		function getEscola($escola){ return $this->escola; }
		function getProfessor($professor){ return $this->professor; }
		function getHistorico($historico){ return $this->historico; }
		function getNocoes($nocoes){ return $this->nocoes; }
		function getIp($ip){ return $this->ip; }
		function getCod($cod){ return $this->cod; }
		function getData($data){ return $this->data; }
		
		function fetchObject($result){
			$this->id			= $result[0]['id'];
			$this->active 		= $result[0]['active'];
			$this->confirm		= $result[0]['confirm'];
			$this->name			= $result[0]['name']; 
			$this->country		= $result[0]['country']; 
			$this->state		= $result[0]['state']; 
			$this->city			= $result[0]['city']; 
			$this->birthday		= $result[0]['birthday']; 
			$this->address		= $result[0]['address']; 
			$this->postalcode	= $result[0]['postalcode']; 
			$this->phone		= $result[0]['phone']; 
			$this->rg			= $result[0]['rg']; 
			$this->cpf			= $result[0]['cpf']; 
			$this->passport		= $result[0]['passport']; 
			$this->instrumento	= $result[0]['instrumento']; 
			$this->classificacao_vocal	= $result[0]['classificacao_vocal']; 
			$this->escola		= $result[0]['escola']; 
			$this->professor	= $result[0]['professor']; 
			$this->historico	= $result[0]['historico']; 
			$this->nocoes		= $result[0]['nocoes']; 
			$this->ip			= $result[0]['ip']; 
			$this->cod			= $result[0]['cod']; 
			$this->data			= $result[0]['data']; 
		}
	}
	
?>